﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MenuAuth.aspx.cs" Inherits="QuaManSys.Rights.MenuAuth" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>管理模块详情</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="float: left; margin-left: 10px;">
            <asp:GridView ID="ModuleView" Width="100px" runat="server" DataKeyNames="Id"
                CssClass="Grid" AllowSorting="True" AutoGenerateColumns="False" OnRowDataBound="ModuleView_RowDataBound"
                OnSelectedIndexChanging="ModuleView_SelectedIndexChanging">
                <FooterStyle CssClass="GridFooter" />
                <RowStyle CssClass="Row" />
                <Columns>
                    <asp:TemplateField HeaderText="模块名称">
                        <ItemTemplate>
                            <asp:Label ID="lab_ID" runat="server" Text='<%# Eval("Id")%>' Style="display: none"></asp:Label>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                            <asp:Label ID="lab_Verify" runat="server" Text="" Style="display: none"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle Wrap="False" />
                        <ItemStyle HorizontalAlign="Left" Wrap="False" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="权限列表">
                        <ItemTemplate>
                            <asp:CheckBoxList ID="AuthorityList_Grant" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:CheckBoxList>
                        </ItemTemplate>
                        <HeaderStyle Wrap="False" />
                        <ItemStyle Wrap="False" />
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="HeadingCell" />
                <AlternatingRowStyle BorderStyle="None" CssClass="AlternatingRow" />
            </asp:GridView>
        </div>
    </div>
    </form>
</body>
</html>
